<% active_nav_tag :chair %>
<% content_for :css do %>
  <%= stylesheet_link_tag "home/news2Style", :media => "all" %>
<%end%>
<div class="left">
  <div class="top">
    <span class="n_gray fistPage"><a href="<%=root_path%>" class="n_gray fistPage">首页</a></span>
    <span class="n_gray">&gt;</span>
    <span><a href="/reports">学术讲座</a></span>
  </div>
  <div class="left_title">学术讲座</div>
  <div class="content">
    <ul>
      <%@reports.each do |report|%>
      <li>
        <a href="<%= report_path(report.id) %>">
          <span class="time">开讲时间：<%=short_ymd(report.time || report.created_at)%></span>
          <span class="content_icon"></span>
          <span>
            <%=raw report.title[0..50] %>
            <% if report.title.size > 50%>
              ...
            <% end %>
          </span>
        </a>
      </li>
      <% end %>
    </ul>
    <div class="count">
      <%= paginate @reports %>
    </div>
  </div>
</div>
<div class="right">
  <%=render "index_right_recommend"%>
</div>
<%content_for :js do %>
  <%= javascript_include_tag "home/news2.js" %>
<%end%>